package com.hqj.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import java.util.Map;

@FeignClient(name="eureka-client-8001")
public interface TestService {
    @RequestMapping(method = RequestMethod.GET,value = "/eureka/client/tc/getOne")
    public Map<String,Object> getOne();
}
